//
//  GBTableColumnHeader_signal.h
//  MacStockApp
//
//  Created by 英傑 翁 on 12/6/17.
//  Copyright (c) 2012年 翁英傑. All rights reserved.
//

#import <Foundation/Foundation.h>

 
 //標記：買賣訊號 1.#define定義 .h
 extern NSString * const DB_his_data_signal_serial_sample;
 extern NSString * const DB_his_data_signal_MA_BS;
 extern NSString * const DB_his_data_signal_MA_State;
 extern NSString * const DB_his_data_signal_KD_BS;
 extern NSString * const DB_his_data_signal_KD_State;
 extern NSString * const DB_his_data_signal_MACD_BS;
 extern NSString * const DB_his_data_signal_MACD_State;
 extern NSString * const DB_his_data_signal_LF1_BS;
 extern NSString * const DB_his_data_signal_LF1_State;
 extern NSString * const DB_his_data_signal_LF2_BS;
 extern NSString * const DB_his_data_signal_LF2_State; 
 extern NSString * const DB_his_data_signal_LF3_BS;
 extern NSString * const DB_his_data_signal_LF3_State; 
 
 extern NSString * const DB_his_data_signal_MESA1_BS;
 extern NSString * const DB_his_data_signal_MESA1_State;
 extern NSString * const DB_his_data_signal_MESA2_BS;
 extern NSString * const DB_his_data_signal_MESA2_State; 
 extern NSString * const DB_his_data_signal_MESA3_BS;
 extern NSString * const DB_his_data_signal_MESA3_State; 
   
extern NSString * const DB_his_data_signal_MESA1_BS_Stop;
extern NSString * const DB_his_data_signal_MESA2_BS_Stop;
extern NSString * const DB_his_data_signal_MESA3_BS_Stop;

extern NSString * const DB_his_data_signal_LFMESA1_BS;
extern NSString * const DB_his_data_signal_LFMESA1_State;
extern NSString * const DB_his_data_signal_LFMESA1_State_add;
extern NSString * const DB_his_data_signal_LFMESA1_Add_Long;
extern NSString * const DB_his_data_signal_LFMESA2_BS;
extern NSString * const DB_his_data_signal_LFMESA2_State;
extern NSString * const DB_his_data_signal_LFMESA2_Add_Long;
extern NSString * const DB_his_data_signal_LFMESA3_BS;
extern NSString * const DB_his_data_signal_LFMESA3_State;
extern NSString * const DB_his_data_signal_LFMESA3_Add_Long;

extern NSString * const DB_his_data_signal_LFMESA1_BS_Stop;
extern NSString * const DB_his_data_signal_LFMESA2_BS_Stop;
extern NSString * const DB_his_data_signal_LFMESA3_BS_Stop;

extern NSString * const DB_his_data_signal_LFMESA1_Add_Long_ExcessMax;
extern NSString * const DB_his_data_signal_LFMESA2_Add_Long_ExcessMax;
extern NSString * const DB_his_data_signal_LFMESA3_Add_Long_ExcessMax;


//尚未實現損益

extern NSString * const DB_his_data_profit_MESA2_long_ratio_lasttrade;  //做多最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA3_long_ratio_lasttrade;  //做多最後一筆獲利率

extern NSString * const DB_his_data_profit_MESA2_short_ratio_lasttrade; //做空最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA3_short_ratio_lasttrade; //做空最後一筆獲利率

extern NSString * const DB_his_data_profit_MESA2_longshort_ratio_lasttrade;  //做多最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA3_longshort_ratio_lasttrade;  //做多最後一筆獲利率

//實現損益
extern NSString * const DB_his_data_profit_MESA1_long_ratio_realizedtrade;  //做多最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA2_long_ratio_realizedtrade;  //做多最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA3_long_ratio_realizedtrade;  //做多最後一筆獲利率

extern NSString * const DB_his_data_profit_MESA1_short_ratio_realizedtrade; //做空最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA2_short_ratio_realizedtrade; //做空最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA3_short_ratio_realizedtrade; //做空最後一筆獲利率

extern NSString * const DB_his_data_profit_MESA1_longshort_ratio_realizedtrade;  //做多最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA2_longshort_ratio_realizedtrade;  //做多最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA3_longshort_ratio_realizedtrade;  //做多最後一筆獲利率

extern NSString * const DB_his_data_profit_MESA1_long_ratio_realizedtrade_temp;  //做多最後一筆獲利率

//勝率
extern NSString * const DB_his_data_profit_MESA1_short_ratio_lasttrade; //做空最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA1_long_ratio_lasttrade;  //做多最後一筆獲利率
extern NSString * const DB_his_data_profit_MESA1_long_total_count_temp;
extern NSString * const DB_his_data_profit_MESA1_long_win_count_temp;
extern NSString * const DB_his_data_profit_MESA1_long_win_ratio_temp;
extern NSString * const DB_his_data_profit_MESA1_short_total_count_temp;
extern NSString * const DB_his_data_profit_MESA1_short_win_count_temp;
extern NSString * const DB_his_data_profit_MESA1_short_win_ratio_temp;

extern NSString * const DB_his_data_profit_MESA2_long_total_count_temp;
extern NSString * const DB_his_data_profit_MESA2_long_win_count_temp;
extern NSString * const DB_his_data_profit_MESA2_long_win_ratio_temp;
extern NSString * const DB_his_data_profit_MESA2_short_total_count_temp;
extern NSString * const DB_his_data_profit_MESA2_short_win_count_temp;
extern NSString * const DB_his_data_profit_MESA2_short_win_ratio_temp;

extern NSString * const DB_his_data_profit_MESA3_long_total_count_temp;
extern NSString * const DB_his_data_profit_MESA3_long_win_count_temp;
extern NSString * const DB_his_data_profit_MESA3_long_win_ratio_temp;
extern NSString * const DB_his_data_profit_MESA3_short_total_count_temp;
extern NSString * const DB_his_data_profit_MESA3_short_win_count_temp;
extern NSString * const DB_his_data_profit_MESA3_short_win_ratio_temp;

extern NSString * const DB_his_data_profit_MESA1_LS_total_count_temp;
extern NSString * const DB_his_data_profit_MESA1_LS_win_count_temp;
extern NSString * const DB_his_data_profit_MESA1_LS_win_ratio_temp;
extern NSString * const DB_his_data_profit_MESA2_LS_total_count_temp;
extern NSString * const DB_his_data_profit_MESA2_LS_win_count_temp;
extern NSString * const DB_his_data_profit_MESA2_LS_win_ratio_temp;
extern NSString * const DB_his_data_profit_MESA3_LS_total_count_temp;
extern NSString * const DB_his_data_profit_MESA3_LS_win_count_temp;
extern NSString * const DB_his_data_profit_MESA3_LS_win_ratio_temp;


extern NSString * const DB_his_data_profit_MESA1_long_return_temp;
extern NSString * const DB_his_data_profit_MESA1_long_period_temp;
extern NSString * const DB_his_data_profit_MESA1_long_max_loss_temp;
extern NSString * const DB_his_data_profit_MESA1_long_max_gain_temp;
extern NSString * const DB_his_data_profit_MESA1_short_return_temp;
extern NSString * const DB_his_data_profit_MESA1_short_period_temp;
extern NSString * const DB_his_data_profit_MESA1_short_max_loss_temp;
extern NSString * const DB_his_data_profit_MESA1_short_max_gain_temp;
extern NSString * const DB_his_data_profit_MESA1_LS_return_temp;
extern NSString * const DB_his_data_profit_MESA1_LS_period_temp;
extern NSString * const DB_his_data_profit_MESA1_LS_max_loss_temp;
extern NSString * const DB_his_data_profit_MESA1_LS_max_gain_temp;

extern NSString * const DB_his_data_profit_MESA2_long_return_temp;
extern NSString * const DB_his_data_profit_MESA2_long_period_temp;
extern NSString * const DB_his_data_profit_MESA2_long_max_loss_temp;
extern NSString * const DB_his_data_profit_MESA2_long_max_gain_temp;
extern NSString * const DB_his_data_profit_MESA2_short_return_temp;
extern NSString * const DB_his_data_profit_MESA2_short_period_temp;
extern NSString * const DB_his_data_profit_MESA2_short_max_loss_temp;
extern NSString * const DB_his_data_profit_MESA2_short_max_gain_temp;
extern NSString * const DB_his_data_profit_MESA2_LS_return_temp;
extern NSString * const DB_his_data_profit_MESA2_LS_period_temp;
extern NSString * const DB_his_data_profit_MESA2_LS_max_loss_temp;
extern NSString * const DB_his_data_profit_MESA2_LS_max_gain_temp;

extern NSString * const DB_his_data_profit_MESA3_long_return_temp;
extern NSString * const DB_his_data_profit_MESA3_long_period_temp;
extern NSString * const DB_his_data_profit_MESA3_long_max_loss_temp;
extern NSString * const DB_his_data_profit_MESA3_long_max_gain_temp;
extern NSString * const DB_his_data_profit_MESA3_short_return_temp;
extern NSString * const DB_his_data_profit_MESA3_short_period_temp;
extern NSString * const DB_his_data_profit_MESA3_short_max_loss_temp;
extern NSString * const DB_his_data_profit_MESA3_short_max_gain_temp;
extern NSString * const DB_his_data_profit_MESA3_LS_return_temp;
extern NSString * const DB_his_data_profit_MESA3_LS_period_temp;
extern NSString * const DB_his_data_profit_MESA3_LS_max_loss_temp;
extern NSString * const DB_his_data_profit_MESA3_LS_max_gain_temp;

//LF1
extern NSString * const DB_his_data_profit_LF1_long_max_gain_temp;
extern NSString * const DB_his_data_profit_LF1_long_max_loss_temp;
extern NSString * const DB_his_data_profit_LF1_long_period_temp;
extern NSString * const DB_his_data_profit_LF1_long_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LF1_long_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LF1_long_return_temp;
extern NSString * const DB_his_data_profit_LF1_long_total_count_temp;
extern NSString * const DB_his_data_profit_LF1_long_win_count_temp;
extern NSString * const DB_his_data_profit_LF1_long_win_ratio_temp;
extern NSString * const DB_his_data_profit_LF1_longshort_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LF1_longshort_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LF1_LS_max_gain_temp;
extern NSString * const DB_his_data_profit_LF1_LS_max_loss_temp;
extern NSString * const DB_his_data_profit_LF1_LS_period_temp;
extern NSString * const DB_his_data_profit_LF1_LS_return_temp;
extern NSString * const DB_his_data_profit_LF1_LS_total_count_temp;
extern NSString * const DB_his_data_profit_LF1_LS_win_count_temp;
extern NSString * const DB_his_data_profit_LF1_LS_win_ratio_temp;
extern NSString * const DB_his_data_profit_LF1_short_max_gain_temp;
extern NSString * const DB_his_data_profit_LF1_short_max_loss_temp;
extern NSString * const DB_his_data_profit_LF1_short_period_temp;
extern NSString * const DB_his_data_profit_LF1_short_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LF1_short_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LF1_short_return_temp;
extern NSString * const DB_his_data_profit_LF1_short_total_count_temp;
extern NSString * const DB_his_data_profit_LF1_short_win_count_temp;
extern NSString * const DB_his_data_profit_LF1_short_win_ratio_temp;
//LF2
extern NSString * const DB_his_data_profit_LF2_long_max_gain_temp;
extern NSString * const DB_his_data_profit_LF2_long_max_loss_temp;
extern NSString * const DB_his_data_profit_LF2_long_period_temp;
extern NSString * const DB_his_data_profit_LF2_long_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LF2_long_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LF2_long_return_temp;
extern NSString * const DB_his_data_profit_LF2_long_total_count_temp;
extern NSString * const DB_his_data_profit_LF2_long_win_count_temp;
extern NSString * const DB_his_data_profit_LF2_long_win_ratio_temp;
extern NSString * const DB_his_data_profit_LF2_longshort_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LF2_longshort_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LF2_LS_max_gain_temp;
extern NSString * const DB_his_data_profit_LF2_LS_max_loss_temp;
extern NSString * const DB_his_data_profit_LF2_LS_period_temp;
extern NSString * const DB_his_data_profit_LF2_LS_return_temp;
extern NSString * const DB_his_data_profit_LF2_LS_total_count_temp;
extern NSString * const DB_his_data_profit_LF2_LS_win_count_temp;
extern NSString * const DB_his_data_profit_LF2_LS_win_ratio_temp;
extern NSString * const DB_his_data_profit_LF2_short_max_gain_temp;
extern NSString * const DB_his_data_profit_LF2_short_max_loss_temp;
extern NSString * const DB_his_data_profit_LF2_short_period_temp;
extern NSString * const DB_his_data_profit_LF2_short_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LF2_short_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LF2_short_return_temp;
extern NSString * const DB_his_data_profit_LF2_short_total_count_temp;
extern NSString * const DB_his_data_profit_LF2_short_win_count_temp;
extern NSString * const DB_his_data_profit_LF2_short_win_ratio_temp;
//LF3
extern NSString * const DB_his_data_profit_LF3_long_max_gain_temp;
extern NSString * const DB_his_data_profit_LF3_long_max_loss_temp;
extern NSString * const DB_his_data_profit_LF3_long_period_temp;
extern NSString * const DB_his_data_profit_LF3_long_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LF3_long_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LF3_long_return_temp;
extern NSString * const DB_his_data_profit_LF3_long_total_count_temp;
extern NSString * const DB_his_data_profit_LF3_long_win_count_temp;
extern NSString * const DB_his_data_profit_LF3_long_win_ratio_temp;
extern NSString * const DB_his_data_profit_LF3_longshort_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LF3_longshort_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LF3_LS_max_gain_temp;
extern NSString * const DB_his_data_profit_LF3_LS_max_loss_temp;
extern NSString * const DB_his_data_profit_LF3_LS_period_temp;
extern NSString * const DB_his_data_profit_LF3_LS_return_temp;
extern NSString * const DB_his_data_profit_LF3_LS_total_count_temp;
extern NSString * const DB_his_data_profit_LF3_LS_win_count_temp;
extern NSString * const DB_his_data_profit_LF3_LS_win_ratio_temp;
extern NSString * const DB_his_data_profit_LF3_short_max_gain_temp;
extern NSString * const DB_his_data_profit_LF3_short_max_loss_temp;
extern NSString * const DB_his_data_profit_LF3_short_period_temp;
extern NSString * const DB_his_data_profit_LF3_short_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LF3_short_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LF3_short_return_temp;
extern NSString * const DB_his_data_profit_LF3_short_total_count_temp;
extern NSString * const DB_his_data_profit_LF3_short_win_count_temp;
extern NSString * const DB_his_data_profit_LF3_short_win_ratio_temp;

//LFMESA1
extern NSString * const DB_his_data_profit_LFMESA1_long_max_gain_temp;
extern NSString * const DB_his_data_profit_LFMESA1_long_max_loss_temp;
extern NSString * const DB_his_data_profit_LFMESA1_long_period_temp;
extern NSString * const DB_his_data_profit_LFMESA1_long_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LFMESA1_long_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LFMESA1_long_return_temp;
extern NSString * const DB_his_data_profit_LFMESA1_long_total_count_temp;
extern NSString * const DB_his_data_profit_LFMESA1_long_win_count_temp;
extern NSString * const DB_his_data_profit_LFMESA1_long_win_ratio_temp;
extern NSString * const DB_his_data_profit_LFMESA1_longshort_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LFMESA1_longshort_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LFMESA1_LS_max_gain_temp;
extern NSString * const DB_his_data_profit_LFMESA1_LS_max_loss_temp;
extern NSString * const DB_his_data_profit_LFMESA1_LS_period_temp;
extern NSString * const DB_his_data_profit_LFMESA1_LS_return_temp;
extern NSString * const DB_his_data_profit_LFMESA1_LS_total_count_temp;
extern NSString * const DB_his_data_profit_LFMESA1_LS_win_count_temp;
extern NSString * const DB_his_data_profit_LFMESA1_LS_win_ratio_temp;
extern NSString * const DB_his_data_profit_LFMESA1_short_max_gain_temp;
extern NSString * const DB_his_data_profit_LFMESA1_short_max_loss_temp;
extern NSString * const DB_his_data_profit_LFMESA1_short_period_temp;
extern NSString * const DB_his_data_profit_LFMESA1_short_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LFMESA1_short_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LFMESA1_short_return_temp;
extern NSString * const DB_his_data_profit_LFMESA1_short_total_count_temp;
extern NSString * const DB_his_data_profit_LFMESA1_short_win_count_temp;
extern NSString * const DB_his_data_profit_LFMESA1_short_win_ratio_temp;
//LFMESA2
extern NSString * const DB_his_data_profit_LFMESA2_long_max_gain_temp;
extern NSString * const DB_his_data_profit_LFMESA2_long_max_loss_temp;
extern NSString * const DB_his_data_profit_LFMESA2_long_period_temp;
extern NSString * const DB_his_data_profit_LFMESA2_long_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LFMESA2_long_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LFMESA2_long_return_temp;
extern NSString * const DB_his_data_profit_LFMESA2_long_total_count_temp;
extern NSString * const DB_his_data_profit_LFMESA2_long_win_count_temp;
extern NSString * const DB_his_data_profit_LFMESA2_long_win_ratio_temp;
extern NSString * const DB_his_data_profit_LFMESA2_longshort_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LFMESA2_longshort_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LFMESA2_LS_max_gain_temp;
extern NSString * const DB_his_data_profit_LFMESA2_LS_max_loss_temp;
extern NSString * const DB_his_data_profit_LFMESA2_LS_period_temp;
extern NSString * const DB_his_data_profit_LFMESA2_LS_return_temp;
extern NSString * const DB_his_data_profit_LFMESA2_LS_total_count_temp;
extern NSString * const DB_his_data_profit_LFMESA2_LS_win_count_temp;
extern NSString * const DB_his_data_profit_LFMESA2_LS_win_ratio_temp;
extern NSString * const DB_his_data_profit_LFMESA2_short_max_gain_temp;
extern NSString * const DB_his_data_profit_LFMESA2_short_max_loss_temp;
extern NSString * const DB_his_data_profit_LFMESA2_short_period_temp;
extern NSString * const DB_his_data_profit_LFMESA2_short_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LFMESA2_short_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LFMESA2_short_return_temp;
extern NSString * const DB_his_data_profit_LFMESA2_short_total_count_temp;
extern NSString * const DB_his_data_profit_LFMESA2_short_win_count_temp;
extern NSString * const DB_his_data_profit_LFMESA2_short_win_ratio_temp;
//LFMESA3
extern NSString * const DB_his_data_profit_LFMESA3_long_max_gain_temp;
extern NSString * const DB_his_data_profit_LFMESA3_long_max_loss_temp;
extern NSString * const DB_his_data_profit_LFMESA3_long_period_temp;
extern NSString * const DB_his_data_profit_LFMESA3_long_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LFMESA3_long_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LFMESA3_long_return_temp;
extern NSString * const DB_his_data_profit_LFMESA3_long_total_count_temp;
extern NSString * const DB_his_data_profit_LFMESA3_long_win_count_temp;
extern NSString * const DB_his_data_profit_LFMESA3_long_win_ratio_temp;
extern NSString * const DB_his_data_profit_LFMESA3_longshort_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LFMESA3_longshort_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LFMESA3_LS_max_gain_temp;
extern NSString * const DB_his_data_profit_LFMESA3_LS_max_loss_temp;
extern NSString * const DB_his_data_profit_LFMESA3_LS_period_temp;
extern NSString * const DB_his_data_profit_LFMESA3_LS_return_temp;
extern NSString * const DB_his_data_profit_LFMESA3_LS_total_count_temp;
extern NSString * const DB_his_data_profit_LFMESA3_LS_win_count_temp;
extern NSString * const DB_his_data_profit_LFMESA3_LS_win_ratio_temp;
extern NSString * const DB_his_data_profit_LFMESA3_short_max_gain_temp;
extern NSString * const DB_his_data_profit_LFMESA3_short_max_loss_temp;
extern NSString * const DB_his_data_profit_LFMESA3_short_period_temp;
extern NSString * const DB_his_data_profit_LFMESA3_short_ratio_lasttrade;
extern NSString * const DB_his_data_profit_LFMESA3_short_ratio_realizedtrade;
extern NSString * const DB_his_data_profit_LFMESA3_short_return_temp;
extern NSString * const DB_his_data_profit_LFMESA3_short_total_count_temp;
extern NSString * const DB_his_data_profit_LFMESA3_short_win_count_temp;
extern NSString * const DB_his_data_profit_LFMESA3_short_win_ratio_temp;

 

